import user from './router/user';
import file from './router/file';

export default (app:any) => {
  const { io } = app
  // 用户
  user(app);

  // 文件
  file(app);

  io.of('/').route('server', io.controller.chat.index);
};
